import request from "@/aixos/request";

//登录
function login(data: Object) {
    return request({
        url: 'login',
        method: 'post',
        data
    })
}

//退出
function logout(data: Object) {
    return request({
        url: 'logout',
        method: 'post',
        data
    })
}

export {
    login,
    logout
}
